package com.chidopi.market.aa.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

import com.chidopi.market.aa.dao.ICityPermissionDao;
import com.chidopi.market.aa.service.ICityPermissionService;

public class CityPermissionServiceImpl implements ICityPermissionService {
	@Autowired
	@Qualifier("cityPermissionDao")
	private ICityPermissionDao dao;
	
	@Override
	public int getCityPermission(int userId, String uri) {
		return this.dao.getCityPermission(userId, uri);
	}
}
